﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Loogn.WP.Notification
{
    public class WPNotificationResult
    {
        public string NotificationStatus { get; set; }
        public string NotificationChannelStatus { get; set; }
        public string DeviceConnectionStatus { get; set; }

        public bool Success
        {
            get
            {
                return NotificationStatus == "Received" && DeviceConnectionStatus == "Connected" && NotificationChannelStatus == "Active";
            }
        }
        public Exception Error { get; set; }
    }
}
